import i18n from '../../i18n/i18n'
export const tableOption = {
  border: true,
  index: true,
  indexLabel: i18n.t('publics.serial'),
  indexWidth: i18n.t('language') === 'language' ? 140 : 50,
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  addBtn: false,
  editBtn: false,
  delBtn: false,
  column: [
    {
      label: i18n.t('order.logisticsCompanyName'),
      prop: 'dvyName',
      search: true,
      searchLabelWidth: 100
    },
    {
      label: i18n.t('platform.companyHomepage'),
      prop: 'companyHomeUrl'
    },
    {
      label: i18n.t('sys.creationTime'),
      prop: 'recTime'
    },
    {
      label: i18n.t('platform.updateDate'),
      prop: 'modifyTime'
    },
    {
      label: i18n.t('platform.logisticsCompanyNumber') + `（${i18n.t('sysManagement.expressBird')}）`,
      prop: 'dvyNo',
      search: true,
      searchLabelWidth: 180 // 搜索栏左边文案宽度
    },
    {
      label: i18n.t('platform.logisticsCompanyNumber') + `（${i18n.t('sysManagement.quick100')}）`,
      prop: 'dvyNoHd',
      search: true,
      searchLabelWidth: 180 // 搜索栏左边文案宽度
    }
  ]
}
